package work;

public class Test4 {
    public static void main(String[] args) {
        byte[] data = new byte[10000*10000];
        int b;
        long start = System.currentTimeMillis();
        for(int i=0;i<data.length;i++){
            b=data[i];
        }
        long end = System.currentTimeMillis();
        System.out.println(end-start+"ms");
    }
}
